/* components/activity/activity.wxss */
.activity-swiper{
    background-color: #fff;
    padding: 16rpx 0px;
    box-sizing: border-box;
    height: 360rpx;

}
.x-activity-components{ 
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .activity-serve-price{
        position: absolute;
        left: 0;
        top: 0;
        background-color: #ccc;
        color: indianred;
        z-index: 2;
        font-size: 24rpx;
        padding: 0px 6rpx;
        border-radius: 8rpx 0px 8rpx 0px;
    }
    .activity-image{
        width: 100%;
        overflow: hidden;

        border-radius: 8rpx;
        .t-activity-image{
            width: 100%;
            height: 180rpx;
        }
    }
    .activity-title{
        font-size: 24rpx;
        color: #000; display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2; /* 控制行数 */
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        line-height: 1.5; /* 根据实际调整 */
        margin-top: 8rpx;
    }
    .activity-originalPrice{
        color: #ccc;
        font-size: 22rpx;
        text-decoration: line-through;
    }
    .activity-sellingPrice{
        color: indianred;
        font-size: 28rpx;
        font-weight: bold;
    }
    .activity-price-box{
        flex-shrink: 0;
    }
}
.activity-swiper{
    overflow: hidden;
    width: 100%;
}